package com.zjc.yohoshop.mvp.contract;

import com.zjc.lib_core.mvp.model.IModel;
import com.zjc.lib_core.mvp.view.IView;
import com.zjc.yohoshop.bean.UserEntity;

import io.reactivex.Observable;

public interface UserLoginFragmentContract {
    interface UserLoginIView extends IView {
        void success(UserEntity entity);
    }
    interface UserLoginIModel extends IModel {
        Observable<UserEntity> login(String request);
        Observable<UserEntity> register(String request);
    }
}
